package com.kristin;

import com.kristin.thread.MyThread;

import java.util.List;

public class test implements MyThread {
    private static final int COUNT_BITS = Integer.SIZE - 3;
    private static final int RUNNING    = -1 << COUNT_BITS;

    //（高3位）：00000000000000000000000000000000
    private static final int SHUTDOWN   =  0 << COUNT_BITS;

    //（高3位）：00100000000000000000000000000000
    private static final int STOP       =  1 << COUNT_BITS;

    //（高3位）：01000000000000000000000000000000
    private static final int TIDYING    =  2 << COUNT_BITS;

    //（高3位）：01100000000000000000000000000000
    private static final int TERMINATED =  3 << COUNT_BITS;

    @Override
    public <T> List<T> resutl() {
        return null;
    }

    public static void main(String[] args) {
        System.out.println("COUNT_BITS\t\t" + COUNT_BITS);
        System.out.println("RUNNING\t\t" + RUNNING);
        System.out.println("SHUTDOWN\t\t" + SHUTDOWN);
        System.out.println("STOP\t\t" + STOP);
        System.out.println("TIDYING\t\t" + TIDYING);
        System.out.println("TERMINATED\t\t" + TERMINATED);

    }



}
